{% extends 'base.html' %}
{% block 'content' %}
	<form action="" method="post">
		<table>
			<thead>
				<tr>
					<th>序号</th>
					<th>id</th>
					<th>书名</th>
					<th>作者</th>
				</tr>
			</thead>
			<tbody>
				{% for i in result %}
				<tr>
					<td>{{ forloop.counter }}</td>
					<td>{{ i.0 }}</td>
					<td>{{ i.1 }}</td>
					<td>{{ i.2 }}</td>
				</tr>
				<tr>
					<td></td>
					<td><input type="submit" value="删除"></td>
					<td></td>
					<td></td>
				</tr>	
			{% endfor %}
			</tbody>
		</table>
	</form>
{% endblock %}